<?php

declare(strict_types=1);

namespace App\Model;



/**
 * @property int $id 
 * @property string $type 应用类型
 * @property int $version 内部版本号
 * @property string $version_code 外部版本号
 * @property string $desc 更新描述
 * @property string $url 下载地址或者图片地址
 * @property \Carbon\Carbon $created_at 创建时间
 * @property \Carbon\Carbon $updated_at 更新时间
 */
class Version extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'version';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'type', 'version', 'version_code', 'desc', 'url', 'created_at', 'updated_at'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'version' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
}
